package com.yinxianren.main.study.angularJS.controller;


import com.yinxianren.main.study.angularJS.bean.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {
    @GetMapping("/test")
    public User sayHello() {
        System.out.println("==================> augular");
        User user = new User();
        user.setName("jackson");
        user.setPassword("123456");
        return user;
    }
}
